package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2022-05-26 11:29
*/
 

@Data
@Accessors(chain = true)
@TableName(value = "t_dispatch_order_apply")
public class TDispatchOrderApply {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 申请用户
     */
    @TableField(value = "apply_m_id")
    private Long applyMId;

    /**
     * 申请时间
     */
    @TableField(value = "apply_time")
    private LocalDateTime applyTime;

    /**
     * 状态0无效 1有效
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 类型 0-派单申请
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 添加时间
     */
    @TableField(value = "add_time")
    private LocalDateTime addTime;

    /**
     * 唯一锁
     */
    @TableField(value = "un_lock")
    private String unLock;
    /**
     * 用户头像
     */
    @TableField(value = "member_img")
    private String memberImg;
}